package co.yixiang.modules.system.dto.queryCriteria;

import lombok.Data;
import lombok.experimental.Accessors;
import lombok.Builder;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

import java.math.BigDecimal;
import java.util.List;
import co.yixiang.annotation.Query;

/**
* @author zf
* @date 2020-08-19
*/
@Data
@Accessors(chain = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ShopStoreQueryCriteria{

    /** 精确 */
    @Query
    private Integer id;

    /** 精确 */
    @Query
    private Integer shopId;

    /** 精确 */
    @Query
    private String shopUnique;

    /** 精确 */
    @Query
    private Integer category;

    /** 精确 */
    @Query
    private String type;

    /** 精确 */
    @Query
    private String subType;

    /** 模糊 */
    @Query(type = Query.Type.INNER_LIKE)
    private String name;

    /** 精确 */
    @Query
    private String province;

    /** 精确 */
    @Query
    private String city;

    /** 精确 */
    @Query
    private String county;

    /** 模糊 */
    @Query(type = Query.Type.INNER_LIKE)
    private String detialAddress;

    /** 模糊 */
    @Query(type = Query.Type.INNER_LIKE)
    private String address;

    /**商户折扣*/
    @Query
    private BigDecimal discount;

    /** 精确 */
    @Query
    private String mainCertificateType;

    /** 精确 */
    @Query
    private String industryCertificateType;

    /** 精确 */
    @Query
    private String specialCertificateType;
}
